package com.example.demo.service;

import com.example.demo.entity.CourseComment;

import java.util.List;

public interface CourseCommentService {
    int insertCourseComment(CourseComment courseComment);
    int deleteCourseCommentById(int id);
    int updateCourseComment(CourseComment courseComment);
    CourseComment selectCourseCommentById(int id);
    List<CourseComment> selectAllCourseComments();
    List<CourseComment> selectCourseCommentsByCourseId(int courseId);
}